package cn.juque.datapipeline.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>脚本信息</li>
 * </ul>
 * {@code @date} 2023-03-31 11:14:13
 **/
@Data
@TableName(value = "DB_TASK_SCRIPT")
public class TaskScript extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 脚本名称
     */
    @TableField(value = "SCRIPT_NAME")
    private String scriptName;

    /**
     * 脚本
     */
    @TableField(value = "SCRIPT")
    private String script;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

}
